package com.ruoyi.coal.modules.coalpile.domain.vo;

public class YardPileDataVo {
    private Integer yardId;

    private Integer pileId;

    private String weight;

    public void setYardId(Integer yardId) {
        this.yardId = yardId;
    }

    public void setPileId(Integer pileId) {
        this.pileId = pileId;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.YardPileDataVo))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.vo.YardPileDataVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.YardPileDataVo)o;
        if (!other.canEqual(this))
            return false;
        Object this$yardId = getYardId(), other$yardId = other.getYardId();
        if ((this$yardId == null) ? (other$yardId != null) : !this$yardId.equals(other$yardId))
            return false;
        Object this$pileId = getPileId(), other$pileId = other.getPileId();
        if ((this$pileId == null) ? (other$pileId != null) : !this$pileId.equals(other$pileId))
            return false;
        Object this$weight = getWeight(), other$weight = other.getWeight();
        return !((this$weight == null) ? (other$weight != null) : !this$weight.equals(other$weight));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.YardPileDataVo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $yardId = getYardId();
        result = result * 59 + (($yardId == null) ? 43 : $yardId.hashCode());
        Object $pileId = getPileId();
        result = result * 59 + (($pileId == null) ? 43 : $pileId.hashCode());
        Object $weight = getWeight();
        return result * 59 + (($weight == null) ? 43 : $weight.hashCode());
    }

    public String toString() {
        return "YardPileDataVo(yardId=" + getYardId() + ", pileId=" + getPileId() + ", weight=" + getWeight() + ")";
    }

    public YardPileDataVo(Integer yardId, Integer pileId, String weight) {
        this.yardId = yardId;
        this.pileId = pileId;
        this.weight = weight;
    }

    public YardPileDataVo() {}

    public Integer getYardId() {
        return this.yardId;
    }

    public Integer getPileId() {
        return this.pileId;
    }

    public String getWeight() {
        return this.weight;
    }
}
